<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    @@include('meta.html')
    <title>重置登录密码</title>
    <style type="text/css" media="screen">
        body,html{margin:0;padding:0;position:relative; background: #262b4a url(images/loginBg.jpg); background-repeat: no-repeat; background-position: center; height: 100%;}
        
    </style>
</head>
<body>
    @@include('header.html')
    <div class="login-box">
        <form class="login-form" action="index.html" method="post">
            <span class="form-title">重置登录密码</span>
            
            <div class="clearfix form-group">
                <input id="txtPwd" class="form-input" type="password" autocomplete="off" placeholder="填入新密码" name="password" value="">
            </div>
            <div class="clearfix form-group">
                <input id="txtPwd" class="form-input" type="password" autocomplete="off" placeholder="确认新密码" name="password" value="">
            </div>

            <!-- <div class="form-remember">
                <i class="select-icon on"></i>
                <span class="select-text">记住我的选择</span>
            </div> -->
            
            
            <div class="form-actions">
                <a href="" class="form-btn">确认修改密码</a>
            </div>
        </form>
    </div>

    @@include('footer-js.html')
    <script>
        $(document).ready(function() { 
            var lis = $(".options li");
            
            for(var i=0;i<lis.length;i++){  
                lis[i].onclick = function(){
                    $(this).parents('.filterList').find('.selectBox').val(this.getAttribute("rel"));  
                    $(this).parents(".options").hide();  
                    $(this).parents('.replace').find(".current").html(this.innerHTML);
                    getSelectVal(this);
                }
            }  
            $(".replace").mouseover(function(){
                $(this).find(".options").show();
            })
            $(".replace").mouseout(function(){
                $(this).find(".options").hide();
            })
        });
        //自动获取
        function getSelectVal(val){
            console.log($(val).attr("rel"),$(val).html());
        }
        //获取第一个select
        console.log($('.selectBox').eq(0).val());

    </script>
</body>
</html>
